home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 …ember: Reference Library / Dev.CD Dec 94.toast / What's New? / Sample Code / Snippets Update / Simple Imagecompressor ƒ / CompressImageTest.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-21  |  651 b   |  23 lines  |  [TEXT/KAHL]

  1. #ifndef _COMPRESSIMAGETEST_H_
  2. #define _COMPRESSIMAGETEST_H_
  3.  
  4. #include <ImageCompression.h>
  5. #include <QuickTimeComponents.h>
  6.  
  7. void  CheckError(OSErr error, Str255 displayString) ;
  8. pascal OSErr ProgressProc(short progressMsg,Fixed progressPercent,long refcon) ;
  9.  
  10. PicHandle CompressPixMap(  PixMapHandle thePixMap, 
  11.        Rect *theFrame,  
  12.        SCParams *params,  
  13.        ComponentInstance ci) ;
  14.        
  15. void InitialiseSCParams(SCParams *params) ;
  16.  
  17. OSErr GetCompressionSettings( WindowPtr   theWindow, 
  18.         SCParams    *params, 
  19.         ComponentInstance ci ) ;
  20.         
  21. OSErr GetOutputFileRef(short    *dstPictFRef ) ; // GetOutputFileRefNum
  22.  
  23. #endif